<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <script src="./js/promiseAjax.js"></script>
    <script src="./js/cookie.js"></script>
    <link rel="stylesheet" href="./css/cart.css">

</head>

<body>
    <div class="container top">
        <div class="content1">
            <div class="userinfo">
                <a href="login.html">登录</a>
                <a href="register.html">注册</a>
            </div>
            <div class="tolist">
                <a href="list.html">列表页</a>
            </div>
        </div>
    </div>
    <div class="container-fuild">
        <div class="container goods">
            <table class="table">
                <thead>
                    <tr>
                        <th><input type="checkbox" name="selectAll">全选</th>
                        <th>商品图片</th>
                        <th>单价</th>
                        <th>数量</th>
                        <th>小计</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                </tbody>
                <tfoot>
                    <tr>
                        <td><input type="checkbox" name="selectAll">全选</td>
                        <td>
                            <button class="btn btn-danger removeAll">清空购物车</button>
                        </td>
                        <td>总数量：<span class="totalNum">0</span></td>
                        <td colspan="2">总价格：<span class="totalPrice">0</span></td>
                        <td>
                            <button class="btn btn-success pay">结算</button>
                        </td>
                    </tr>
                </tfoot>
            </table>
        </div>
    </div>
</body>
<script src="./js/cart.js"></script>

</html>